package util;

import javax.media.opengl.glu.GLU;

import com.jogamp.opengl.util.gl2.GLUT;

public class Util {
	public static GLU glu;
	public static GLUT glut;
	
	public static void init() {
		glu = new GLU();
		glut = new GLUT();
	}
	
	public static double toDeg( double rad ) {
		return rad * 180.0/Math.PI;
	}
	
	public static double toRad( double deg ) {
		return deg * Math.PI/180.0;
	}
}
